﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SGC.BE;
using NHibernate.Mapping.ByCode.Conformist;

namespace SGC.DL.Empleado.Mapeo
{
    public class DL_EmpleadoMapeo : ClassMapping<BE_Empleado>
    {
        public DL_EmpleadoMapeo()
        {
            Table("TB_EMPLEADO");
            Id(emp => emp.CODIGO_EMP, mapper => mapper.Column("IDEMPLEADO"));
            Property(emp => emp.NOMBRE_EMP, mapper => mapper.Column("NOMBRE"));

        }  
    }
}
